package com.cnpc.rightslogan.service;

import com.cnpc.rightslogan.entity.User;
import com.github.pagehelper.PageInfo;

public interface IUserService {

    User getUser(int id);

    User getUser(User user);

    PageInfo<User> getUserList(Integer pageNum, Integer pageSize, User user);

    Integer addUser(User user);

    Integer updateUser(User user);

    Integer deleteUser(User user);
}
